import java.util.Scanner;

public class Questions {
    public static void main(String[] args) {
        System.out.println("How many questions do you want?");
        Scanner sc = new Scanner(System.in);
        int n,i,rights = 0;
        n = sc.nextInt();
        for (i = 0; i<n; i++){
            Test1 test = new Test1();
            Rational Ra = test.chuti();
            if(Ra.toString().equals("wrong")){
                System.out.println("This question is wrong!");
                continue;
            }
            String answer = sc.next();
            if(answer.equals(Ra.toString())){
                System.out.println("你他娘的还真是个天才！");
                rights ++;
            }
            else {
                System.out.println("你他娘的答错了！");
            }
        }
        System.out.printf("你的正确率是%f %%",(float)100.0*rights/n);
    }
}
